package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.CollectionLabel;
@Mapper
public interface CollectionLabelDao {
    int deleteByPrimaryKey(Integer id);
    /**
     * 添加标签
     * @param record
     * @return
     */
    boolean insertSelective(CollectionLabel record);

    CollectionLabel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CollectionLabel record);

    int updateByPrimaryKey(CollectionLabel record);
    /**
     * 查询全部标签
     * @param uid
     * @return
     */
	List<CollectionLabel> selAllLabel(String uid);
}